package com.taobao.matrix.eagle.beak;

import java.util.Map;

public interface URLRewriter {
	void addMapping(URLMapping urlMapping);

	URLRequest rewrite(String requestPath) throws URLRewriteException;

	String render(String targetPath, Map<String, Object> queries) throws URLRewriteException;
}
